/**
 * @file timBsp.h
 * @author  xiaowine (xiaowine@sina.cn)
 * @brief
 * @version 01.00
 * @date    2025-09-01
 *
 * @copyright Copyright (c) {2020}  xiaowine
 *
 * @par 修改日志:
 * <table>
 * <tr><th>Date       <th>Version <th>Author  <th>Description
 * <tr><td>2025-09-01 <td>1.0     <td>wangh     <td>内容
 * </table>
 * ******************************************************************
 * *                   .::::
 * *                 .::::::::
 * *                ::::::::::
 * *             ..:::::::::::
 * *          '::::::::::::
 * *            .:::::::::
 * *       '::::::::::::::..        女神助攻,流量冲天
 * *            ..::::::::::::.     永不宕机,代码无bug
 * *          ``:::::::::::::::
 * *           ::::``:::::::::'        .:::
 * *          ::::'   ':::::'       .::::::::
 * *        .::::'      ::::     .:::::::'::::
 * *       .:::'       :::::  .:::::::::' ':::::
 * *      .::'        :::::.:::::::::'      ':::::
 * *     .::'         ::::::::::::::'         ``::::
 * * ...:::           ::::::::::::'              ``::
 * *```` ':.          ':::::::::'                  ::::.
 * *                   '.:::::'                    ':'````.
 * ******************************************************************
 */

#ifndef __TIM_BSP_H__
#define __TIM_BSP_H__
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "userType.h"
#include "tim.h"
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
extern _TKS_FLAGA_type TIME_FLAG_;

#define _TKS_FLAGA_1ms   TIME_FLAG_.bits.b0
#define _TKS_FLAGA_2ms   TIME_FLAG_.bits.b1
#define _TKS_FLAGA_5ms   TIME_FLAG_.bits.b2
#define _TKS_FLAGA_10ms  TIME_FLAG_.bits.b3
#define _TKS_FLAGA_20ms  TIME_FLAG_.bits.b4
#define _TKS_FLAGA_50ms  TIME_FLAG_.bits.b5
#define _TKS_FLAGA_100ms TIME_FLAG_.bits.b6
#define _TKS_FLAGA_500ms TIME_FLAG_.bits.b7
/* Exported functions ------------------------------------------------------- */


#ifdef __cplusplus
}
#endif
#endif /* __TIM_BSP_H__ */
